سفارش تبلیغ
صبا ویژن

ARTICLETECH-HOW TO PLAY AUDIO FILE IN MEDIAPLAYER ANDROID SYSTEM

- SeekTo () method:

It should be noted that this method takes a value of type int and moves the audio file to the same position. For example, giving a value of 26 to this method can cause the audio file to start playing from 26 seconds.

- GetCurrentPosition () method:

This method can also send the current position of the player. Returns the audio file in any situation.

Related link:Android Development